<!DOCTYPE html>
<html lang="en">
    <head>
        <title>上传产品---商家入驻</title>
    </head>
    <body>
    <include file="Public:top" />
    <include file="Public:left" />
    <!--main-container-part-->
    <div id="content">
        <!--面包屑-->
        <div id="content-header">
            <div id="breadcrumb"> <a href="{$lanmu_url}" title="{$lanmu_title_ch}" class="tip-bottom"><i class="icon-home"></i> {$lanmu_title_ch}</a></div>
        </div>
        <!--End-面包屑-->
        <!--我的状态-->
        <div class="row-fluid" style="width:98%;margin-left: 1%;">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                        <h5>上传产品</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <form action="index.php?s=/Product/saveProductInfo" method="post" class="form-horizontal" onsubmit="return CheckProductInfo();">
                            <div class="control-group">
                                <label class="control-label">标题 :</label>
                                <div class="controls">
                                    <input type="text" id="mer_title" name="mer_title" class="span11" placeholder="" value="{$product_data['title']}" />
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">价格 :</label>
                                <div class="controls">
                                    <div class="input-append">
                                        <input type="text" id="mer_price" name="mer_price" placeholder="" class="span11" value="{$product_data['price']}" />
                                        <span class="add-on">￥</span> </div>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">描述 :</label>
                                <div class="controls">
                                    <textarea class="span11" id="mer_description" name="mer_description" style="height: 400px;" >{$product_data['description']}</textarea>
                                </div>
                            </div>
                            <div class="form-actions">
                                <input type="hidden" id="mer_productid_inp" name="mer_productid_inp" value="{$product_data['id']}" />
                                <button type="submit" class="btn btn-success">Save</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <include file="Public:foot" />
    </div>
</body>
</html>
